# dify/config.py

# 服务器地址
SERVER_URL = "http://10.1.60.39/v1"

# 工作流的 key 和描述
WORKFLOW_KEYS = {
    "阶段总结": {
        "key": "app-90vc5ahmNrFioopJ7S1s0TzO",
        "description": "用于生成阶段总结的工作流"
    },
    "产业报告": {
        "key": "app-HqYKDyzJZwn83scqA8ijRGRG",
        "description": "用于生成产业报告的工作流"
    },
    "非结构化处理": {
        "key": "app-3BqlvYbhgxgrzssjI4JtJ4Z3",
        "description": "用于非结构化专利文件数据解析"
    },
    "非结构化处理-v2": {
        "key": "app-0SzBjjxBIBzBHTmW04zO0ESm",
        "description": "用于非结构化通用文件数据解析"
    }
}

# 默认用户
DEFAULT_USER = "49"

# 请求头
HEADERS = {
    "Authorization": "Bearer key",  # 这里的 key 会在请求时动态替换
    "Content-Type": "application/json"
}
